﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.BaseLibrary.Domain;

namespace DepartmentWork.Migrator.Data
{
    public class TEAMSPACE : IEntity
    {
        /// <summary>
        /// 团队空间ID
        /// </summary>
        [DisplayName("团队空间ID"), Required, Key]
        public Guid TEAMSPACE_ID { get; set; }

        /// <summary>
        /// 团队空间编号（空间代码）
        /// </summary>
        [DisplayName("团队空间编号"), Required, MaxLength(5)]
        public string TEAMSPACE_NO { get; set; }

        /// <summary>
        /// 团队空间名称
        /// </summary>
        [DisplayName("团队空间名称"), Required,MaxLength(50)]
        public string TEAMSPACE_NAME { get; set; }
    }
}
